<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        .container{
            width: 500px;
            height: 300px;
            border: 1px solid red;
            overflow: hidden;
            margin: 200px auto;
        }
        img{
            width: 100%;
            transition: all 1s;
        }
        .container:hover img{
            transform: scale(3);
        }
    </style>
    <div class="container">
        <img src="./images/product.jpg" alt="">
    </div>
</body>
</html>